<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Message extends Model
{
    protected $table = "day_message";
//   添加
    public static function messageAdd($data)
    {
        return self::create($data);
    }
    //    查询
    public static function messageSelect($id)
    {
        return self::where('id',$id)->find();
    }
}
